package com.hightrast.service.api.domain.qo.rastUser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

@Data
@EqualsAndHashCode
@ApiModel(value="用户注册请求")
public class RegisterQo {

    @ApiModelProperty(value = "邮箱")
    @NotEmpty(message = "Please enter your email address")
    private String email;

    @ApiModelProperty(value = "账号")
    @NotEmpty(message = "Please enter your account")
    private String account;

    @ApiModelProperty(value = "名称")
    @NotEmpty(message = "Please enter your name")
    private String userName;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "Please input your password")
    private String password;
}
